﻿<%@ Page Language="C#" MasterPageFile="~/impresiones/MasterImpresiones.master" Title="Cotizacion" AutoEventWireup="true" CodeFile="Cotizacion.aspx.cs" Inherits="impresiones_Cotizacion"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="text-align: left" width="100%">
        <tr>
            <td style="width: 90px; height: 20px; text-align: right" valign="bottom">
            </td>
            <td style="width: 220px; height: 20px; text-align: left" valign="bottom">
            </td>
            <td style="width: 70px; height: 20px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td style="width: 90px; text-align: right" valign="bottom">
            </td>
            <td style="width: 220px; text-align: left" valign="bottom">
            </td>
            <td style="width: 70px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td style="width: 90px; text-align: right" valign="bottom">
                Cotizacion Numero :</td>
            <td style="width: 220px; text-align: left" valign="bottom">
                <asp:Label ID="lblId" runat="server"></asp:Label></td>
            <td style="width: 70px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td style="width: 90px; text-align: right" valign="bottom">
                Fecha :</td>
            <td style="width: 220px; text-align: left" valign="bottom">
                <asp:Label ID="lblFecha" runat="server" Width="100%"></asp:Label></td>
            <td style="width: 70px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td style="width: 90px; text-align: right" valign="bottom">
                Proveedor :&nbsp;</td>
            <td style="width: 220px; text-align: left" valign="bottom">
                <asp:Label ID="lblProveedor" runat="server" Width="100%"></asp:Label></td>
            <td style="width: 70px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td style="width: 90px; text-align: right" valign="bottom">
            </td>
            <td style="width: 220px; text-align: left" valign="bottom">
                <strong></strong>
            </td>
            <td style="width: 70px; text-align: left" valign="bottom">
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align: center">
                <strong>Materiales de la orden</strong> &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="3" style="height: 20px; text-align: center">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                    ShowFooter="True" Width="100%">
                    <RowStyle CssClass="RowStyle" />
                    <Columns>
                        <asp:TemplateField HeaderText="Fecha" SortExpression="Fecha">
                            <AlternatingItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# Bind("Fecha", "{0:d}") %>'></asp:Label>
                                <asp:Label ID="Label6" runat="server" Text='<%# Bind("Id") %>' Visible="False"></asp:Label>
                            </AlternatingItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# Bind("Fecha", "{0:d}") %>'></asp:Label>
                                <asp:Label ID="Label6" runat="server" Text='<%# Bind("Id") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Producto">
                            <EditItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Producto.Descripcion") %>'></asp:Label>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Producto.Descripcion") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Cantidad" SortExpression="Cantidad">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Cantidad") %>' Width="50px"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Bind("Cantidad") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="ValorUnitario" SortExpression="ValorUnitario">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("ValorUnitario") %>' Width="50px"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label3" runat="server" Text='<%# Bind("ValorUnitario") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="ValorTotal" SortExpression="ValorTotal">
                            <EditItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# Bind("ValorTotal") %>'></asp:Label>
                            </EditItemTemplate>
                            <FooterTemplate>
                                <asp:Label ID="lblTotal" runat="server"></asp:Label>
                            </FooterTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# Bind("ValorTotal") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle CssClass="PagerStyle" />
                    <SelectedRowStyle CssClass="SelectedRowStyle" />
                    <HeaderStyle CssClass="HeaderStyle" />
                    <AlternatingRowStyle CssClass="AltRowStyle" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

